<?php
define("_ROOT", ".");
include _ROOT . "/mainfile.php";

$iNewsID = is_numeric($_GET["id"]) ? $_GET["id"]:"";
$sql = "SELECT * {$tablepre}xna_tags ";
$rt = $PlusDB->execute($sql);
while(!$oRS->Eof()) {
    $sHTML.='<a href="tag.php?name='.$oRS->FieldValue("name").'">'.$oRS->FieldValue("name").'</a>&nbsp;&nbsp;';
    $oRS->MoveNext();
}
echo($sHTML);
?>